import { http } from '@/utils/request.js'

const zlPromptService = {
  list: (data) => {
    return http.get('/system/zlPrompt/list', data)
  },
  getDetail: (zlpromptId) => {
    return http.get(`/system/zlPrompt/${zlpromptId}`)
  },
  delete: (zlpromptId) => {
    return http.put(`/system/zlPrompt/${zlpromptId}`)
  },
  optionList: () => {
    return http.get('/system/customerInformation/queryList')
  },
  addApply: (data) => {
    return http.post('/system/zlPromptApply/insert',data)
  },
  getApply: (zlpromptId) => {
    return http.get(`/system/zlPromptApply/${zlpromptId}`)
  },
  zlPromptUpload: (data) => {
    return http.post('/system/zlPromptUpload/insert',data)
  },
  getzlPromptUpload: (zlpromptId) => {
    return http.get(`/system/zlPromptUpload/${zlpromptId}`)
  },
}
export default zlPromptService
